<?php
		$CI =& get_instance();
		$list = $this->model_career->findAll();
?>
<h2>Career</h2>
<div class="content-inner">
</div>
<div class="content-inner">
	<a href="<?=site_url(array('c' => 'cms_career', 'm' => 'add'))?>" title="Add Item">
		<img src="<?=$image_path?>function/add.gif" width="106" height="31" border="0">
	</a>
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="cont-table-list">
		<thead>
			<tr>
				<th class="small">Edit</th>
				<th class="small">Delete</th>
				<th align="left">Name</th>
				<th align="left">Email</th>
				<th align="left">Location</th>
			</tr>
		</thead>
		<tbody>
		<?php if(!empty($list)):?>
				<?php foreach($list as $item): $i++;?>
					<tr class="<?= $i%2 ? 'odd' : 'even'?>">
						<td class="small"><a href="<?=site_url(array('c' => 'cms_career', 'm' => 'edit','id'=>$item['id']))?>"><img src="<?=image_url()?>icons/edit.gif" alt="Edit"/></a></td>
						<td class="small"><a href="<?=site_url(array('c' => 'cms_career', 'm' => 'delete','id'=>$item['id']))?>"><img src="<?=image_url()?>icons/del.gif" alt="Delete"/></a></td>
						<td ><?=$item['title']?></td>
						<td ><?=$item['email']?></td>
						<td ><?=$item['location']?></td>
					</tr>
				<?php endforeach;?>
		<?php endif;?>
		</tbody>
	</table>
</div>
